var express = require("express");
var app = express();
var router = require("./router.js");
//配置中间件
var bodyParaser = require('body-parser');
app.use(bodyParaser.urlencoded({
  extended: true
}))

app.use("/", router);

app.listen(3333, function() {
	console.log("服务器运行在3333端口上");
})